package org.util;

import java.io.File;

/**
 * @Auther: qingle
 * @Date: 2024/9/8-8:09
 * @Description:
 * @version: 1.0
 */
public class FileUtils {

	// 获取本地文件大小
	public static long getLocalFileSize(String filePath)
	{
		File file = new File(filePath);
		return file.exists() && file.isFile() ? file.length() : 0L;
	}
}
